package ynu.edu.service;

import ynu.edu.po.DeliveryAddress;

import java.util.List;

public interface IDeliveryAddressService {
    List<DeliveryAddress> listDeliveryAddressByUserId(String userId);
    DeliveryAddress getDeliveryAddressById(Integer daId);
    boolean saveDeliveryAddress(DeliveryAddress deliveryAddress);
    boolean updateDeliveryAddress(DeliveryAddress deliveryAddress);
    boolean removeDeliveryAddress(Integer daId);
}
